package com.haier.iot.dubbo.controller;

import com.haier.iot.dubbo.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Zhang Tianhui 2021/10/20
 * @version 1.0.0
 */
@RestController
public class AccountController {

    @Autowired
    private AccountService accountService;

    @GetMapping("/dubbo/provider/account")
    public String getAccount() {
        return accountService.getAccount();
    }
}
